package com.demo.entity;

import java.sql.Timestamp;

public class Favorite {
    private Integer id;

    /**
     * 收藏者ID
     */
    private String userid;
    /**
     * 收藏物品ID
     */
    private String goodsid;
    /*
        *创建时间
         */
    private Timestamp createAt;
    /**
     * 更新时间
     */
    private Timestamp updateAt;
    public Timestamp getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public Timestamp getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Timestamp updateAt) {
        this.updateAt = updateAt;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid == null ? null : goodsid.trim();
    }
}